package com.jdd.modules.parkCarAbnormalRecord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdd.common.util.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
/**
 * @Description: 车场异常记录
 * @Author: jdd
 * @Date:   2022-04-21
 * @Version: V1.0
 */
@Data
@TableName("park_car_abnormal_record")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="park_car_abnormal_record对象", description="车场异常记录")
public class ParkCarAbnormalRecord implements Serializable {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
	private String id;
	/**车场编号*/
	@Excel(name = "车场编号", width = 15)
    @ApiModelProperty(value = "车场编号")
	private String parkCode;
	/**停车场名称*/
	@Excel(name = "停车场名称", width = 15)
    @ApiModelProperty(value = "停车场名称")
	private String parkName;

	/**
	 * enter_batch_number 入场批次号
	 */
	/**停车场名称*/
	@Excel(name = "入场批次号", width = 15)
	@ApiModelProperty(value = "入场批次号")
	private String enterBatchNumber;

	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
	private String plateNo;
	/**识别车牌号*/
	@Excel(name = "识别车牌号", width = 15)
    @ApiModelProperty(value = "识别车牌号")
	private String identifyPlateNo;
	/**车辆类型(0,无牌车，1,有牌车)*/
	@Excel(name = "车辆类型(0,无牌车，1,有牌车)", width = 15)
    @ApiModelProperty(value = "车辆类型(0,无牌车，1,有牌车)")
	private String carType;
	/**车辆性质(0:临时车,1:月租车,2储值车，3军警车）*/
	@Excel(name = "车辆性质(0:临时车,1:月租车,2储值车，3军警车）", width = 15)
    @ApiModelProperty(value = "车辆性质(0:临时车,1:月租车,2储值车，3军警车）")
	private String carNature;
	/**识别的车牌颜色
	 *  0：未知、1：蓝色、2：黄色、3：白色、4：黑色、5：绿色
	 * */
	@Excel(name = "识别的车牌颜色", width = 15)
    @ApiModelProperty(value = "识别的车牌颜色")
	private Integer carPalteNoColor;
	/**设备序列号，设备唯一*/
	@Excel(name = "设备序列号，设备唯一", width = 15)
    @ApiModelProperty(value = "设备序列号，设备唯一")
	private String serialNo;
	/**车道名称*/
	@Excel(name = "车道名称", width = 15)
    @ApiModelProperty(value = "车道名称")
	private String armName;
	/**操作员*/
	@Excel(name = "操作员", width = 15)
    @ApiModelProperty(value = "操作员")
	private String workStationOperator;
	/**工作站名称*/
	@Excel(name = "工作站名称", width = 15)
    @ApiModelProperty(value = "工作站名称")
	private String workStationName;
	/**识别图片地址*/
	@Excel(name = "识别图片地址", width = 15)
    @ApiModelProperty(value = "识别图片地址")
	private String identifyImgPath;
	/**抓拍图片地址*/
	@Excel(name = "抓拍图片地址", width = 15)
    @ApiModelProperty(value = "抓拍图片地址")
	private String imgPath;
	/**云图片地址*/
	@Excel(name = "云图片地址", width = 15)
    @ApiModelProperty(value = "云图片地址")
	private String ossImgPath;
	/**触发时间*/
	@Excel(name = "触发时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "触发时间")
	private Date triggerTime;
	/**1：应急开闸，2：遥控器开闸，3：无入场纪录，4：取消出场*/
	@Excel(name = "1：应急开闸，2：遥控器开闸，3：无入场纪录，4：取消出场", width = 15)
    @ApiModelProperty(value = "1：应急开闸，2：遥控器开闸，3：无入场纪录，4：取消出场")
	private Integer abnormalType;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**逻辑删除字段0未删除，1已删除*/
	@Excel(name = "逻辑删除字段0未删除，1已删除", width = 15)
    @ApiModelProperty(value = "逻辑删除字段0未删除，1已删除")
	private Integer deleted;
}
